const express = require('express');
const router = express.Router();
const favoriteController = require('../controllers/favoriteController');

router.get('/me/favorites', favoriteController.getFavorites);
router.post('/:id/favorite', favoriteController.addFavorite);
router.delete('/:id/favorite', favoriteController.removeFavorite);

module.exports = router;